<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<title>信用卡在线申请</title>
		<meta name="viewport" content="initial-scale=1, maximum-scale=1">
		<link rel="shortcut icon" href="{$_W['siteroot']}/addons/lanye_wd/static/images/favicon.ico">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">
		<link rel="stylesheet" href="{$_W['siteroot']}/addons/lanye_wd/static/css/light7.css">
		<link rel="stylesheet" href="{$_W['siteroot']}/addons/lanye_wd/static/css/icon.css">
		<link rel="stylesheet" href="{$_W['siteroot']}/addons/lanye_wd/static/css/style.css?v={$_W['timestamp']}">
	</head>
	<style>

		.card-lists img{
			border-radius: 5px;
		}
		.card-lists .item-inner {
			display: block;
			padding: 0;
			border-bottom: 0;
		}
		.card-lists .item-text {
			/* height: 2.1rem; */
			-webkit-line-clamp: 1;
			height: 1.1rem;
			font-size: 14px;
		}
		.card-lists .item-text .num{
			color: #4f8bdc;
		}
		.card-lists li{
			padding: .5rem 0;
			border-bottom: 1px solid #e7e7e7;
		}
		.card-lists li:last-child{
			border-bottom: 0;
		}
	</style>
	<body>
		<div class="page bg-white">
			<div class="content">
				<div class="list-block list-border-none no-margin card-lists">
				<ul class="list-card">
				<!--{loop $banks $row}-->
				<!--<li>-->
					<!--<div class="media">-->
						<!--<img src="{$_W['attachurl']}{$row['photo']}" />-->
					<!--</div>-->
					<!--<div class="info">-->
						<!--<p class="name">{$row['name']}</p>-->
						<!--<p class="text">申请人数:{$row['num']}</p>-->
					<!--</div>-->
					<!--<a class="external link" href="{php echo $this->createMobileUrl('apply',array('id' => $row['id']))}">-->
						<!--<img src="{$_W['siteroot']}/addons/lanye_wd/static/images/guide-1.png" />-->
						<!--<p>立即申请</p>-->
					<!--</a>-->
				<!--</li>-->
				<!--{/loop}-->

					{loop $cards $row}
					<li>
						<a href="{php echo $this->createMobileUrl('card', array('op' => 'apply', 'cid' => $row['id']))}" class="item-link item-content external">
							<div class="item-media">
								<img src="{$_W['attachurl']}{$row['photo']}" style='width: 4rem;'>
							</div>
							<div class="item-inner">
								<div class="item-title">{$row['title']}</div>
								<div class="item-text color-gray">{$row['desc']}</div>
								<!--<div class="item-text color-gray"><span class="num">{$row['num']}</span>人已申请</div>-->
							</div>
						</a>
					</li>
					{/loop}
				</ul>
				</div>
			</div>
		</div>
		<script src="{$_W['siteroot']}/addons/lanye_wd/static/js/jquery.js"></script>
		<script src="{$_W['siteroot']}/addons/lanye_wd/static/js/light7.js"></script>
		<script src="{$_W['siteroot']}/addons/lanye_wd/static/js/common.js?v={$_W['timestamp']}"></script>
		{php echo register_jssdk(false);} 
		<script>
			wx.ready(function () {
		        sharedata = {
		            title: "{$config['share_title']}",
		            desc: "{$config['share_desc']}",
		            link: "{$_W['siteroot']}{php echo $this->createMobileUrl('index',array('cc' => $_W['member']['uid']))}",
		            imgUrl: "{$_W['attachurl']}{$config['share_img']}",//本域链接
		        };
				wx.onMenuShareAppMessage(sharedata);
				wx.onMenuShareTimeline(sharedata);
				wx.onMenuShareQQ(sharedata);
				wx.onMenuShareQZone(sharedata);
				wx.onMenuShareWeibo(sharedata);
			});
		</script>
	</body>

</html>